package com.zzyl.serve.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 护理任务查询返回对象（VO）
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NursingTaskVO {

    private Long id; // 长整型 ID 转为字符串输出
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createTime;
    private String nursingId;
    private Integer projectId;
    private String projectName;
    private Integer elderId;
    private String elderName;
    private String bedNumber;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String estimatedServerTime;
    private Integer status;
    private List<String> nursingName; // 护理人员名称列表
}